// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import BootstrapVue from 'bootstrap-vue'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import uploader from 'vue-simple-uploader'
import App from './App'
import router from './router'
import Cookies from 'js-cookie'
// import './mock' // simulation data
import store from './store'
import '@/permission' // permission control
Vue.use(BootstrapVue)
Vue.use(ElementUI)
Vue.use(uploader)
Vue.use(Cookies)
Window.Cookies = Cookies
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  template: '<App/>',
  components: {
    App
  }
})
